local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1
L0_1 = {}
L0_1.group_id = 201059008
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 8001
L2_1.gadget_id = 70330044
L3_1 = {}
L3_1.x = -163.3
L3_1.y = 133.992
L3_1.z = 91.93
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 8002
L3_1.gadget_id = 70220065
L4_1 = {}
L4_1.x = -171.443
L4_1.y = 143.208
L4_1.z = 44.941
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.drop_count = 1
L4_1 = {}
L4_1.config_id = 8003
L4_1.gadget_id = 70220067
L5_1 = {}
L5_1.x = -169.408
L5_1.y = 143.226
L5_1.z = 46.253
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 41.97
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.drop_count = 1
L5_1 = {}
L5_1.config_id = 8004
L5_1.gadget_id = 70220066
L6_1 = {}
L6_1.x = -169.843
L6_1.y = 143.207
L6_1.z = 44.614
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L5_1.drop_count = 1
L6_1 = {}
L6_1.config_id = 8005
L6_1.gadget_id = 70220066
L7_1 = {}
L7_1.x = -169.19
L7_1.y = 143.207
L7_1.z = 29.675
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L6_1.drop_count = 1
L7_1 = {}
L7_1.config_id = 8006
L7_1.gadget_id = 70220067
L8_1 = {}
L8_1.x = -168.191
L8_1.y = 143.209
L8_1.z = 30.392
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 315.921
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.drop_count = 1
L8_1 = {}
L8_1.config_id = 8007
L8_1.gadget_id = 70220025
L9_1 = {}
L9_1.x = -170.743
L9_1.y = 143.282
L9_1.z = 43.711
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 90.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 8008
L9_1.gadget_id = 70220065
L10_1 = {}
L10_1.x = -151.092
L10_1.y = 132.53
L10_1.z = 103.334
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 341.628
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L9_1.drop_count = 1
L10_1 = {}
L10_1.config_id = 8009
L10_1.gadget_id = 70220036
L11_1 = {}
L11_1.x = -183.015
L11_1.y = 136.005
L11_1.z = 92.552
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 8.853
L11_1.y = 90.0
L11_1.z = 7.25
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 8010
L11_1.gadget_id = 70220065
L12_1 = {}
L12_1.x = -170.441
L12_1.y = 132.541
L12_1.z = 83.017
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 341.628
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L11_1.drop_count = 1
L12_1 = {}
L12_1.config_id = 8011
L12_1.gadget_id = 70220065
L13_1 = {}
L13_1.x = -149.076
L13_1.y = 132.53
L13_1.z = 102.531
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 47.552
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L12_1.drop_count = 1
L13_1 = {}
L13_1.config_id = 8012
L13_1.gadget_id = 70220067
L14_1 = {}
L14_1.x = -166.575
L14_1.y = 132.531
L14_1.z = 82.346
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 47.552
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_id = 1000100
L13_1.drop_count = 1
L14_1 = {}
L14_1.config_id = 8013
L14_1.gadget_id = 70220066
L15_1 = {}
L15_1.x = -167.139
L15_1.y = 132.529
L15_1.z = 83.222
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 8014
L15_1.gadget_id = 70220015
L16_1 = {}
L16_1.x = -168.25
L16_1.y = 133.332
L16_1.z = 82.4
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 90.0
L16_1.y = 269.44
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 8015
L16_1.gadget_id = 70220063
L17_1 = {}
L17_1.x = -169.218
L17_1.y = 132.551
L17_1.z = 83.27
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.drop_id = 1000100
L16_1.drop_count = 1
L17_1 = {}
L17_1.config_id = 8020
L17_1.gadget_id = 70220064
L18_1 = {}
L18_1.x = -152.47
L18_1.y = 143.215
L18_1.z = 45.695
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.drop_id = 1000100
L17_1.drop_count = 1
L18_1 = {}
L18_1.config_id = 8022
L18_1.gadget_id = 70220062
L19_1 = {}
L19_1.x = -167.299
L19_1.y = 143.233
L19_1.z = 46.567
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.drop_id = 1000100
L18_1.drop_count = 1
L19_1 = {}
L19_1.config_id = 8023
L19_1.gadget_id = 70220063
L20_1 = {}
L20_1.x = -152.353
L20_1.y = 143.216
L20_1.z = 44.646
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.drop_id = 1000100
L19_1.drop_count = 1
L20_1 = {}
L20_1.config_id = 8024
L20_1.gadget_id = 70220064
L21_1 = {}
L21_1.x = -172.084
L21_1.y = 143.21
L21_1.z = 43.344
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L20_1.drop_id = 1000100
L20_1.drop_count = 1
L21_1 = {}
L21_1.config_id = 8025
L21_1.gadget_id = 70220015
L22_1 = {}
L22_1.x = -151.686
L22_1.y = 144.095
L22_1.z = 43.78
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 90.0
L22_1.y = 343.398
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 8027
L22_1.gadget_id = 70220066
L23_1 = {}
L23_1.x = -166.82
L23_1.y = 143.207
L23_1.z = 30.52
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1008017
L2_1.name = "GADGET_STATE_CHANGE_8017"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_8017"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_8017"
L2_1.trigger_count = 0
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 8001
L5_1 = 8002
L6_1 = 8003
L7_1 = 8004
L8_1 = 8005
L9_1 = 8006
L10_1 = 8007
L11_1 = 8008
L12_1 = 8009
L13_1 = 8010
L14_1 = 8011
L15_1 = 8012
L16_1 = 8013
L17_1 = 8014
L18_1 = 8015
L19_1 = 8020
L20_1 = 8022
L21_1 = 8023
L22_1 = 8024
L23_1 = 8025
L24_1 = 8027
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L3_1[21] = L24_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_8017"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 8001 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearAction2
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      L2_2 = GadgetState
      L2_2 = L2_2.Default
      L3_2 = A1_2.param3
      if L2_2 == L3_2 then
        goto lbl_16
      end
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_16::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_8017 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 201059004
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveEntityByConfigId
  L3_2 = A0_2
  L4_2 = 201059004
  L5_2 = EntityType
  L5_2 = L5_2.GADGET
  L6_2 = 4018
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_8017 = L1_1
